home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
pine394.zip
/
bin
/
pgpview.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-06-25
|
503b
|
29 lines
/* rexx: view a pgp signed message with PineOS2
*/
'@echo off'
parse arg infile rest
outfile=infile||'.out'
'pgp' rest '-o' outfile infile
/* Only pause if there is a problem to report */
if rc <> 0 then do
SAY
SAY d2c(7)||'Problem verifying signature. Press ENTER...'
'pause >NUL'
'del' outfile
return 0
end
p=lastpos('\',infile)
if p > 0 then
basename=substr(infile,p+1)
else
basename=infile
'del' infile
'ren' outfile basename
exit 0